* {
    margin: 0;
    padding: 0;
}

.carousel-container {
    position: relative;
    /* width: 640px;
    height: 260px; */
    height: 100%;
    max-width: 100%;
    overflow: hidden;
}

.carousel-list {
    /* width: 100%; */
    /* height: 100%; */
}
.carousel-list::after{
    content:' ';
    clear: both;
}

.carousel-item {
    /* position: absolute; */
    /* width: 100%; */
    height: 100%;
    transition: all .3s;
}

.carousel-list.fade .carousel-item {
    position: absolute;
}

.carousel-list.fade .carousel-item {
    opacity: 0;
}

.carousel-list.fade .carousel-item.carousel-item-active {
    opacity: 1;
}


.carousel-list.slide .carousel-item {
    position: relative;
    float: left;
}

.carousel-control {
    position: absolute;
    top: 50%;
    width: 25px;
    height: 25px;
    background-color: rgba(0, 0, 0, .15);
    color: #fff;
    transform: translateY(-50%);
    line-height: 25px;
    text-align: center;
    cursor: pointer;
    z-index: 2;
    display: none;
    border-radius: 50%;
    ;
}

.carousel-container:hover .carousel-control {
    display: block;
}

.carousel-control.carousel-control-pre {
    left: 0;
}

.carousel-control.carousel-control-next {
    right: 0;
}

.carousel-pagination {
    z-index: 2;
    position: absolute;
    bottom: 12px;
    text-align: center;
    left: 50%;
    background: rgba(255, 255, 255, .3);
    border-radius: 10px;
    padding: 5px 8px;
    transform: translateX(-50%);
    /* padding; */
}

.carousel-pagination-item {
    height: 8px;
    width: 8px;
    border: 1px solid rgba(0, 0, 0, .05);
    background: #fff;
    /* display: inline-block; */
    float: left;
    margin-right: 8px;
    border-radius: 8px;
    cursor: pointer;
}

.carousel-pagination-item:last-child {
    margin-right: 0;
}

.carousel-pagination-item.carousel-pagination-item-active {
    background: #ff5000;
    width: 16px;
}
